const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  publicPath: './',
  outputDir: '../sc-gateway-console/src/main/resources/static/page',
  transpileDependencies: true,
  devServer: {
      proxy: 'http://127.0.0.1:8080',
      client: {
        overlay: false
      }
  },
  chainWebpack(config) {
    config.plugin('html').tap((args) => { //标题
			args[0].title = '服务网关管理';
			return args;
		})
  }
})
